﻿<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>后台--文章管理</title>
    <link rel="stylesheet" type="text/css" href="<?php echo isset($skin)?$skin:"";?>images/style.css" />
    <base target="_self"/>

    <script src='<?php echo isset($skin)?$skin:"";?>js/jquery.min.js'></script>
    <script type="text/javascript" src="<?php echo isset($skin)?$skin:"";?>js/jquery.form.min.js"></script>
    <script type="text/javascript" src="<?php echo isset($skin)?$skin:"";?>js/dist/dialog-min.js"></script>
    <script src="<?php echo isset($skin)?$skin:"";?>js/admin.js"></script>
    <script type="text/javascript">
        <!--
        $(document).ready(function () {
            $('.new_table tbody tr:even').addClass('h'); //奇偶变色，添加样式
        });
        //-->
    </script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>/js/validate.js"></script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/artTemplate.js"></script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/artTemplate-plugin.js"></script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/form.js"></script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/artDialog.js"></script>
<script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/iframeTools.js"></script>
<link rel="stylesheet" href="<?php echo isset($skin)?$skin:"";?>js/artdialog.css" type="text/css">
</head>
<body>
<div class="hh6"></div>
<script charset="utf-8" src="../kedit/kindeditor-min.js"></script>
<script type="text/javascript">
	var editor;
	KindEditor.ready(function(K) {
		editor = K.create('textarea[name="content"]', {uploadJson: '?c=upload&yeslitpic=1'});
		//给按钮添加click事件
		K('#faddim').click(function() {
			editor.loadPlugin('image', function() {
				//图片弹窗的基本参数配置
				editor.plugin.imageDialog({
					showRemote: false, //网络图片不开启
					imageUrl: K('#img').val(), //如果图片路径框内有内容直接赋值于弹出框的图片地址文本框
					//点击弹窗内”确定“按钮所执行的逻辑
					clickFn: function(url, title, width, height, border, align) {
						K('#img').val(url);//获取图片地址
						editor.hideDialog(); //隐藏弹窗
						document.k_form.flagsp.checked=true;
					}
				});
			});
		});
	});
</script>
<form method="Post" name="k_form" action="?c=article&a=add_do">
    <table class="new_table" width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
		<thead>
			<tr class="n_bt"><td colspan="2" align="center">管理系统</td></tr>
			<tr><th height="28" colspan="2" class="thbt">【详细资料】</th></tr>
		</thead>
		<tbody>

			<tr>
				<td width="13%" height="30" align="right">工作内容：</td>
				<td width="87%"><?php echo isset($oj->title)?$oj->title:"";?></td>
			</tr>
			<tr>
				<td width="13%" height="30" align="right"><p>所属单位：</p></td>
				<td width="87%"><?php echo isset($name)?$name:"";?></td>
			</tr>
			<tr>
				<td height="30" align="right">责任人：</td>
				<td><?php echo isset($oj->writer)?$oj->writer:"";?></td>
			</tr>
			<tr>
				<td height="30" align="right">发布时间：</td>
				<td><?php echo date('Y-m-d H:i:s',$oj->startdate);?></td>
			</tr>
			<tr>
				<td width="13%" height="30" align="right">工作内容：</td>
				<td width="87%"><?php echo isset($oj->con)?$oj->con:"";?></td>
			</tr>
			<tr>
				<td height="30" align="right">图片：</td>
				<td><img src="<?php echo isset($oj->litpic)?$oj->litpic:"";?>"></td>
			</tr>
			</tbody>
    </table>
</form>